package com.ruoyi.yljf.domain.vo;

import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.system.domain.vo.SysDictDataVO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 首页研学空间活动对象
 *
 * @author metaee
 * @date 2025-02-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleTypeVO {

    /** 字典标签 */
    private String label;

    /** 字典键值 */
    private String value;

    private List<ArticleVO> list;

    public ArticleTypeVO(SysDictDataVO sysDictDataVO,List<ArticleVO> articleVOS) {
        BeanUtils.copyProperties(sysDictDataVO, this);
        this.list = articleVOS;
    }

}
